package org.csu.pet_store_back.service;

import org.csu.pet_store_back.common.CommonResponse;
import org.csu.pet_store_back.domain.Product;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface CatalogService {
     CommonResponse<List<Product>> getProductList(String categoryId);
     CommonResponse<Map> getProduct(String productId) throws SQLException, IOException;
     CommonResponse<List<Product>> searchProductList(String keyword);

}
